/*
 * @Description: 
 * @Autor: Bingo
 * @Date: 2024-09-02 11:23:20
 * @LastEditors: Bingo
 * @LastEditTime: 2024-09-02 11:50:19
 */
export default {
  SETCOUNTRYLIST(state: { countryList: any }, option: any) {
    state.countryList = option;
  },
  SET_QUALITY_CHECK_FORM(state: { qualityCheckForm: any }, option: any) {
    state.qualityCheckForm = option;
  },
  SET_QUALITY_CHECK_FORM_QUICK(
    state: { qualityCheckQuickForm: any },
    option: any
  ) {
    state.qualityCheckQuickForm = option;
  },
  SET_ALL(
    state: {
      countryList: any;
      qualityCheckForm: any;
      qualityCheckQuickForm: any;
    },
    s: { countryList: any; qualityCheckForm: any; qualityCheckQuickForm: any }
  ) {
    const { countryList, qualityCheckForm, qualityCheckQuickForm } = s;

    state.countryList = countryList;
    state.qualityCheckForm = qualityCheckForm;
    state.qualityCheckQuickForm = qualityCheckQuickForm;
  },
};
